import { Component } from 'react'
import { Link } from 'react-router-dom'
class Page extends Component {
    constructor(props) {
        super()
        console.log(props.match.params.id)
    }
    render() {
        return (
            <div>
                这是page页面
                <Link to="/about">跳转进入about页面</Link>
            </div>
        )
    }
}

export default Page